package function;

import org.apache.hadoop.hive.ql.exec.UDF;
import org.apache.hadoop.hive.ql.udf.UDFType;

@UDFType(deterministic = false) //不确定函数
public class NumberUDF extends UDF {

    long index = 0;
    public long evaluate(){
        index++;
        return index ;
    }
}
